package org.momo.rpc.exception;

import lombok.Getter;
import org.momo.rpc.bootstrap.model.ReferenceMetaInfo;

@Getter
public class RpcReferenceConfigException extends RuntimeException {


    private final ReferenceMetaInfo referenceMetaInfo;

    public RpcReferenceConfigException(ReferenceMetaInfo referenceMetaInfo, String message) {
        super(message);
        this.referenceMetaInfo = referenceMetaInfo;
    }
}
